package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动管理对象 activity
 * 
 * @author vv
 * @date 2025-06-26
 */
public class Activity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String title;

    /** 活动时间 */
    @Excel(name = "活动时间")
    private String activityTime;

    /** 咨询电话 */
    @Excel(name = "咨询电话")
    private String phone;

    /** 咨询人 */
    @Excel(name = "咨询人")
    private String consultant;

    /** 活动地点 */
    @Excel(name = "活动地点")
    private String location;

    /** 报名数 */
    @Excel(name = "报名数")
    private Integer count;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setActivityTime(String activityTime) 
    {
        this.activityTime = activityTime;
    }

    public String getActivityTime() 
    {
        return activityTime;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setConsultant(String consultant) 
    {
        this.consultant = consultant;
    }

    public String getConsultant() 
    {
        return consultant;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setCount(Integer count) 
    {
        this.count = count;
    }

    public Integer getCount() 
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("activityTime", getActivityTime())
            .append("phone", getPhone())
            .append("consultant", getConsultant())
            .append("location", getLocation())
            .append("count", getCount())
            .toString();
    }
}
